<extend name="public@base"/>
block(name='main')
    .wrap.js-check-wrap
        ul.nav.nav-tabs
            li.nav-item: a.nav-link.active(href!="{:url('NavMenu/index',['nav_id'=>$nav_id])}") 导航菜单
            li.nav-item: a.nav-link(href!="{:url('NavMenu/add',['nav_id'=>$nav_id])}") 添加菜单
        form.js-ajax-form(action="{:url('NavMenu/listOrder')}", method='post')
            .table-actions
                button.btn.btn-primary.btn-sm.js-ajax-submit(type='submit') 排序
            table.table.table-hover.table-bordered
                thead
                    tr
                        th 排序
                        th ID
                        th 菜单名称
                        th 状态
                        th {:lang('ACTIONS')}
                tbody {$categories}
